package pCloud.transport;

import java.io.IOException;

public interface TransportHandle {
	public void init() throws IOException;
	public  void send(Object m) throws Exception;
	public  Object receive() throws Exception;
	
	//Thre remote and local addresses are used to index the 
	//connection at the client and server (respectively).
	public Object getLocalAddress() throws Exception;
	public Object getRemoteAddress() throws Exception;
	public void close() throws Exception;
}
